package com.pureut.quality.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.influxdb.annotation.Column;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Data
@TableName("meeting_record")
public class MeetingRecord {

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "主题", required = true)
    private String theme;

    @ApiModelProperty(value = "会议时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date meetingTime;

    @ApiModelProperty(value = "地点", required = true)
    private String location;

    @ApiModelProperty(value = "主持人", required = true)
    private String host;

    @ApiModelProperty(value = "发起人", required = true)
    private String initiator;

    @ApiModelProperty(value = "发起部门", required = true)
    private String initiatorDepartment;

    @ApiModelProperty(value = "附件列表")
    private String attachments;

    @ApiModelProperty(value = "内容", required = true)
    private String content;

    @ApiModelProperty(value = "参会人员列表", required = true)
    private String participants;

    @ApiModelProperty(value = "确认消息人员")
    private String confirmationPerson;

    @ApiModelProperty(value = "通知时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date notificationTime;

    @ApiModelProperty(value = "关键字1")
    private String keywordOne;

    @ApiModelProperty(value = "关键字2")
    private String keywordTwo;

    @ApiModelProperty(value = "审核意见")
    private String reviewComments;

    @ApiModelProperty(value = "审核结论")
    private String reviewConclusion;

    @ApiModelProperty(value = "部门经理审核")
    private String departmentManagerReview;

    @ApiModelProperty(value = "审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date reviewTime;

    @ApiModelProperty(value = "保密（0公开，1保密）", required = true)
    private Integer isConfidential;

    @ApiModelProperty(value = "是否允许（0禁止，1允许）", required = true)
    private Integer isAllowed;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}